package com.lyx.shiro.service;/**
 * Created by LiuYunXin on 2022/12/25
 */

import com.lyx.shiro.entity.User;

import java.util.List;

/**
 *@author LiuYunXin
 *@create 2022-12-25-12:39
 */
public interface UserService {
    //用户登录方法
    User getUserInfoByName(String name);
    List<String> getUserRoleInfo(String principal);

    public List<String> getUserPermissionInfo(List<String> roles);

}
